package com.ruoyi.boat.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 统计对象 t_statistic
 *
 * @author ruoyi
 * @date 2023-08-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class Statistic extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 艇编号
     */
    @Excel(name = "艇编号")
    private String boatCode;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", dateFormat = "yyyy-MM-dd")
    private Date time;

    /**
     * 收到的消息数量
     */
    @Excel(name = "收到的消息数量")
    private Integer msgReceived;

    /**
     * 消息总数
     */
    @Excel(name = "消息总数")
    private Integer msgAll;

    /**
     * 驻留偏差内消息数量
     */
    @Excel(name = "驻留偏差内消息数量")
    private Integer msgStayIn;

    /**
     * 驻留消息数量
     */
    @Excel(name = "驻留消息数量")
    private Integer msgStay;
}
